package com.sebastian.studies.ch9_BMI;

import java.util.Scanner;

public class BMIexecute {

	public static void main(String[] args) {

		Scanner input = new Scanner(System.in);
		System.out.println("What's your name?: ");
		String name = input.nextLine();
		System.out.println("What's your age?: ");
		int age = input.nextInt();
		System.out.println("How tall are you?: ");
		double height = input.nextDouble();
		System.out.println("What's your wieght?: ");
		double weight = input.nextDouble();

		BMI bmi1 = new BMI(name, age, weight, height);
		System.out.print(bmi1.getBMI() + "\n" + bmi1.getStatus());

		input.close();
	}

}
